local skel = fk.CreateSkill{
  name = "all_suffering_skill",
}
--local U = require "packages/utility/utility"
Fk:loadTranslationTable{
  ["all_suffering_skill"] = "有难同当",
  [":all_suffering_skill"] = "有难同当",
  ["#all_suffering_skill"] = "令所有角色横置",
}
---@type CardSkillSpec
local all_suffering = {
  prompt = "#all_suffering_skill",
  mod_target_filter = Util.TrueFunc,
  can_use = Util.GlobalCanUse,
  on_use = function(self, room, cardUseEvent)
    return Util.AoeCardOnUse(self, cardUseEvent.from, cardUseEvent, true)
  end,
  about_to_effect = function(self, room, effect)
    if effect.to.chained then
      return true
    end
  end,
  on_effect = function(self, room, effect)
    if effect.to.dead or effect.to.chained then return end
    effect.to:setChainState(true)
  end,
}
skel:addEffect("cardskill", all_suffering)
return skel